// 环境配置
const env = import.meta.env.MODE || 'production'; // prod 生产环境
const EnvConfig = {
  development: {
    baseApi: '/api',
    // mockApi:
    //   'https://www.fastmock.site/mock/c1c302e8baed9894c48c17e4738c092e/api', // teacher
    mockApi:
      'https://www.fastmock.site/mock/b62aa9ea58d4dc32080d1882dca315cb/api', // me
  },
  test: {
    baseApi:
      'https://www.fastmock.site/mock/b62aa9ea58d4dc32080d1882dca315cb/api',
    mockApi:
      'https://www.fastmock.site/mock/b62aa9ea58d4dc32080d1882dca315cb/api',
  },
  production: {
    // baseApi: '//futurefe.com/api',
    baseApi:
      'https://www.fastmock.site/mock/b62aa9ea58d4dc32080d1882dca315cb/api',
    mockApi:
      'https://www.fastmock.site/mock/b62aa9ea58d4dc32080d1882dca315cb/api',
  },
};
export default {
  env,
  mock: false,
  namespace: 'manager',
  ...EnvConfig[env],
};
